//
//  AppDelegate.swift
//  8.31Dami微博
//
//  Created by 安静的大米 on 15/8/31.
//  Copyright © 2015年 Dami. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        window = UIWindow(frame:UIScreen.mainScreen().bounds)
        
        //背景颜色
        window?.backgroundColor = UIColor.grayColor()
        
        window?.rootViewController = MainViewController()
        
        //显示
        window?.makeKeyAndVisible()
        
        // 设置外观
        setupAppearance()
        
        
        return true
    }
    
    
    private func setupAppearance(){
        
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
    }
 


}

